projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69d90d4
)
Don't use libcanberra without X
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 26 Jul 2015 03:22:04 +0000
(23:22 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 26 Jul 2015 03:22:04 +0000
(23:22 -0400)
libcanberra calls x11 backend functions, so we can't use it
when the x11 backend is disabled.
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index 6d9da29c071f640fb62e956bf23372c8765092db..28073626b21dfedb509d709dfeb06c07c49d9b83 100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-1690,6
+1690,10
@@
AC_ARG_ENABLE(libcanberra,
[enable_libcanberra="$enableval"],
[enable_libcanberra=auto])
+if test "$enable_x11_backend" != "yes"; then
+ enable_libcanberra=no
+fi
+
AC_MSG_CHECKING([whether to use libcanberra])
if test "$enable_libcanberra" != "no"; then
AC_MSG_RESULT([yes])